package yl.hs.bmipfull.service.salemanage;

import com.fasterxml.jackson.core.JsonProcessingException;
import yl.hs.bmipfull.pojo.salemanage.ContractProductPriceAdjustRecordEntity;
import yl.hs.bmipfull.service.IBaseService;
import yl.hs.bmipfull.viewmodels.SubmitModel;

import java.util.List;

/*
 * IContractProductPriceAdjustService
 * @category
 * @author 谢景广
 * @date 2022-10-13
 */
public interface IContractProductPriceAdjustService extends IBaseService {
    ContractProductPriceAdjustRecordEntity findContractAdjust(String contractSN);

    List<ContractProductPriceAdjustRecordEntity> queryContractAdjust(String contractSN);

    Integer saveModel(SubmitModel model) throws Exception;

    Integer changeToApproved(String sn) throws JsonProcessingException;
}
